#include "TrunkChannel.h"

CTrunkChannel::CTrunkChannel(void)
: m_EnCalled(false)
{
}

CTrunkChannel::~CTrunkChannel(void)
{
}

int CTrunkChannel::CardCallBackProc(WORD wEvent, DWORD dwParam)
{

	if(m_CurrentState == NULL)
	{
		return -1;
	}
	return m_CurrentState->CardCallBackProc(wEvent,dwParam);

}

void CTrunkChannel::ProcessReceivedMsg(CTinyMsg &inMsg,CTinyMsg &OutMsg)
{
	if(m_CurrentState == NULL)
	{
		return ;
	}
	return m_CurrentState->ProcessReceivedMsg(inMsg,OutMsg);
}
